﻿using System;


namespace ElectronicCommerce.Framework.Data.Attribute
{
    public class ReferencedEntityAttribute : System.Attribute
    {
        private Type m_Type;
        private string m_Prefix;
        private string m_ConditionProperty;

        public ReferencedEntityAttribute(Type type)
        {
            m_Type = type;
        }
        public Type Type
        {
            get { return m_Type; }
        }

        public string Prefix
        {
            get { return m_Prefix; }
            set { m_Prefix = value; }
        }

        public string ConditionalProperty
        {
            get { return m_ConditionProperty; }
            set { m_ConditionProperty = value; }
        }
    }
}
